package cn.itcast.hotel;

import cn.itcast.hotel.config.EsProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;


@MapperScan("cn.itcast.hotel.mapper")
@SpringBootApplication
@EnableConfigurationProperties(EsProperties.class)
public class HotelDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(HotelDemoApplication.class, args);
    }

}
